﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Studio7i.Dominio.Sala>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Eliminar
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Eliminar</h2>

    <h3>¿Estás seguro de eliminar esta Sala?</h3>
    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">CodSala</div>
        <div class="display-field"><%: Model.CodSala %></div>
        
        <div class="display-label">Nombre</div>
        <div class="display-field"><%: Model.Nombre %></div>
        
        <div class="display-label">Capacidad</div>
        <div class="display-field"><%: Model.Capacidad %></div>
        
        <div class="display-label">Caracteristicas</div>
        <div class="display-field"><%: Model.Caracteristicas %></div>

        <div class="display-label">Comentarios</div>
        <div class="display-field"><%: Model.Comentarios%></div>

    </fieldset>
    <% using (Html.BeginForm("Eliminar", "Sala", new { Codigo = Model.CodSala }, FormMethod.Post))
       { %>
        <p>
		    <input type="submit" value="Eliminar"  /> |
		    <%: Html.ActionLink("Volver atras", "Index") %>
        </p>
    <% } %>

</asp:Content>

